//
//  XGSettingItemModel.swift
//  TodayNews
//
//  Created by monkey on 2020/2/8.
//  Copyright © 2020 itcast. All rights reserved.
//

import HandyJSON

struct XGSettingItemModel: HandyJSON
{
    enum rightViewType: Int, HandyJSONEnum
    {
        /// 标题按钮
        case titleButton = 0
        /// 开关
        case switchView = 1
        /// 箭头
        case arrowImageView = 2
    }
    
    /// 标题
    var title: String?
    /// 右边标题
    var rightTitle: String?
    /// 副标题
    var subTitle: String?
    /// 辅助视图类型
    var rightViewType: rightViewType?
    /// 开关状态
    var switchViewState: Bool?
}
